.wrap {margin: 0px auto;}
#wrapper #top-nav{
    height:70px;
    background-color: white;
    border-bottom:2px solid #d8d8d8;   
    position: relative;    
    overflow: hidden;
}

#wrapper #top-nav #logo
{
    display:block;
    margin-left:1.5%;
    height:50px;
    width:278px;
    padding-top:10px;   
    text-indent: -9999px;   
    float:left;        
    background: transparent url(../images/logo.png) left center no-repeat scroll;
}

#wrapper #content
{
    width:97%;
    margin:20px auto;
    min-height:455px;
    border:1px solid #d8d8d8;
    background-color:white; 
    position: relative; 
}

#wrapper #content #main-nav
{
    height: 40px;
    line-height: 40px;    
    border-bottom:1px solid #e4e4e4;
    background-color: #fafafa;
}

#wrapper #content #main-nav ul li
{
    float:left;
    display:block;
    border-right: 1px solid #eaeaea;
}

#wrapper #content #main-nav ul li:last-child
{
    border:none;
}

#wrapper #content #main-nav ul li a
{
    color:#747474;
    font:bold 1.2em tahoma;
    padding:0px 10px; 
    display: inline-block;
    position: relative;
    display: block;
    height: 40px;
    line-height: 40px;    
}

.main-nav-active
{
    border-bottom: 2px solid white;
    background-color: white; 
}

#wrapper #content #main-nav ul li a#theloai
{
    text-indent: 18px;     
}
/*active*/
.theloai_active
{
     background-color:#fafafa!important ; 
     border-bottom:2px solid #fafafa;
}

#wrapper #content #main-nav ul li a#theloai span
{
    width:12px;
    height:12px;    
    display: inline-block;
    margin-right: 5px;
    margin-left:-17px;   
    margin-top:16px ; 
    position: absolute;
    background:transparent url(../images/item_sprite.png) 0px 0px no-repeat scroll;
}

#wrapper #content #site-bar
{
    width:292px;
    height:92.6%;   
    border-right:1px solid #d8d8d8; 
    background-color:#fafafa ;  
    display:none;
    position: absolute;
    z-index: 9999;   
}

.show-type
{
    display:block!important;
}
.hidden-style
{
    display: none;
}
#wrapper #content #main-nav ul li a#theloai:hover span
{
    background:transparent url(../images/item_sprite.png) 0px -15px no-repeat scroll;   
} 

#wrapper #content #main-nav ul li a:hover
{color:black;}

/* category */
#wrapper #content .category .title
{
    height:30px;
    width:100%;
    line-height: 30px;
    background: transparent url(../images/bg_title.png) top left repeat scroll;
    font:bold 0.6em tahoma;
    color: #808080;    
    border:1px solid #e4e4e4;
    border-left: none;
    border-right:none;
}

#wrapper #content .category 
{
    min-height:240px;
    margin-bottom:10px;    
}

#wrapper #content .category .title h1
{
    display:block;   
    height: 30px;
    line-height:30px;
    float: left;
    background-color: #fff;
    padding:0px 5px;
    border-bottom: 2px solid white;
    position: relative;
} 
#wrapper #content .category .title h1 a
{
    color: #808080;
}
#wrapper #content .category .title h1 a:hover
{color:black;}

#wrapper #content .category .title h1 span
{
    display: block;
    width:30px;
    height:30px;
    border-bottom: 2px solid white;   
    float:right;
    position: absolute;
    right:-30px;
    top:0px;
    background:transparent url(../images/triangle.png)top left no-repeat scroll;
}

#wrapper #content .category .list-item
{
    text-align: center;  
    margin-top:20px;  
    vertical-align: top;
   
}

#wrapper #content .category .list-item ul
{
    margin-right:-12px;
}

#wrapper #content .category .list-item ul li
{
    display: inline-block;
    margin-right: 11px;
    margin-bottom: 10px;
}
#wrapper #content .category .list-item ul li a
{
    width:115px;
    height:180px;
    display:block;
    color: #747474;   
    border:1px solid transparent;
    
}
#wrapper #content .category .list-item ul li a img
{
    max-width: 110px;
    height:110px;
}
#wrapper #content .category .list-item ul li a:hover
{
    border:1px dotted silver;
}
#wrapper #content .category .list-item ul li a:hover span.name
{
    color:#ff9f00;
}
#wrapper #content .category .list-item ul li a span
{
    font:bold  1.2em tahoma;
    text-align: left;
    display: block;
}
#wrapper #content .category .list-item ul li a span.name
{
    margin:5px 0px 2px 3px;
}
#wrapper #content .category .list-item ul li a span.use
{
    display:block;    
    font:bold 1.09em tahoma;   
    color: #8e8e8e;
    padding-top:3px;
}
#wrapper #content .category .list-item ul li a span.use i
{
    display:block;
    width:12px; 
    height:12px;   
    float: left;
    margin: 0px 5px 0px 3px;    
    background: transparent url(../images/item_sprite.png) 0px -34px no-repeat scroll;
    
}


/*footer */
#wrapper #footer
{
    border-top:2px solid #d8d8d8;
    background-color:white;
    min-height: 70px;  
}
#wrapper #footer #info-copyright
{
    min-height: 70px;
    overflow: hidden;
}

#wrapper #footer #info-copyright #logo-footer
{  
    width:170px;
    height:30px;
    margin-left:1.5%;
    background:transparent url(../images/logo.png) left center no-repeat scroll;
    margin-top: 25px;
    
}
#wrapper #footer #copyright
{
    border-top:1px solid #dadada;
    margin:10px 20px 10px 1.5%;
    font-size: 1.2em;    
}
/*rating*/
#wrapper #content .category .list-item ul li a span.rating,
#wrapper #content #detail #info-detail .rating
{
    margin-top: 2px;
    margin-left:5px;
    height: 15px;
    width:73px;
    background: url(../images/item_sprite.png) -470px -2px no-repeat scroll;
}
/*detail*/
#wrapper #content #detail #app-info
{
    border-bottom:1px dotted #e4e4e4;
    height:220px;
    margin:10px;   
}
#wrapper #content #detail #app-icon
{    
    float:left;
    padding:10px 30px 10px 10px;    
}
#wrapper #content #detail #info-detail
{   
    padding-top: 6px;
    float:left;    
}
#wrapper #content #detail #info-detail h1
{
    font:bold 1.95em tahoma;
    color:#747474;
    padding-bottom: 5px;
    text-transform: uppercase;   
}
#wrapper #content #detail #info-detail p
{
    padding:3px;
    font: normal 1.3em tahoma;    
}
#wrapper #content #detail #info-detail p.author-info span#author,
#wrapper #content #detail #info-detail p.type
{
    font-weight:bold;
}
#wrapper #content #detail #info-detail .rating
{
    margin:5px 0px;
}
#wrapper #content #detail #info-detail .use
{padding:5px 0px;}

#wrapper #content #detail #info-detail .use span 
{
    display: block;
    width: 12px;
    height: 12px;
    float: left;
    margin: 0px 5px 0px 3px;
    background: transparent url(../images/item_sprite.png) 0px -34px no-repeat scroll;
    margin-top:2px;   
}

#wrapper #content #detail #info-detail .wrap-button
{
    padding-top:10px;
    position: relative;
}
#wrapper #content #detail #info-detail .wrap-button input[name='addgame']
{
    border:none;
    width:50px;
    height:50px;    
    position: absolute;
    background:transparent url(../images/item_sprite.png) -300px 0px no-repeat scroll;
    text-indent:-999999px;
    left:5px;
    outline: none;
    cursor: pointer;
    top: 8px;
}
#wrapper #content #detail #info-detail .wrap-button input[name='addplay']
{
    padding:6px 20px 6px 55px;
    cursor: pointer;
}
/*freind*/
#wrapper #content #detail #list-friend
{    
   
    height: 99px!important;
    text-align: center;   
    overflow: hidden; 
    margin:0px 10px;
    border-bottom: 1px dotted #e4e4e4;
    position:relative;   
    padding: 0px 12px;
}
#wrapper #content #detail #list-friend a
{
    display: block;
    position: absolute;
    display:block;
    width: 12px;
    height:23px;    
    text-indent: -9999px;
    top:50px;
}
#wrapper #content #detail #list-friend a#next
{
    right: 5px;
    background: transparent url(../images/item_sprite.png) -335px -56px no-repeat scroll;
}
#wrapper #content #detail #list-friend a#previous
{
    left: 0px;    
    background: transparent url(../images/item_sprite.png) -318px -56px no-repeat scroll;
}
#wrapper #content #detail #list-friend h1
{    
    padding-bottom:5px;
    margin-bottom: 10px;
    font: bold 1.5em tahoma;
    color: #747474;
    border-bottom:1px dotted #e4e4e4;
    text-align: left;    
    text-indent: 10px;
}
#wrapper #content #detail #list-friend ul li
{
     display: inline;
     display: inline-block;
     margin-right:5px;
}
#wrapper #content #detail #list-friend ul li img
{    
    height:50px;
    width:50px;
    margin-bottom: 10px;
}
#wrapper #content #detail #list-friend ul
{
    padding:5px 0px;
    overflow: hidden;    
}

#wrapper #content #detail #description
{
    
    margin:10px;
    border-bottom: 1px solid #f4f4f4;
    padding-bottom:20px;    
}
#wrapper #content #detail #description h1
{
    padding-bottom: 5px;
    margin-bottom: 10px;
    font: bold 1.5em tahoma;
    color: #747474;
    border-bottom: 1px dotted #e4e4e4;
    text-align: left;
    text-indent: 10px;
}
#wrapper #content #detail #description .wrap-text
{    
    margin:10px;
    font:normal 1.7em tahoma;
    line-height: 26px;
    margin-bottom: 10px;   
    color: #373737;
    height:150px;
    overflow: hidden;
    
}
#wrapper #content #detail #description .wrap-text p
{
    padding-bottom: 10px;
}
#wrapper #content #detail #wrap-button
{    
    text-align: center;
    padding-top: 10px;
    margin-top: -20px;
    padding-bottom:20px;
}
#wrapper #content #detail #wrap-button input
{
    padding:5px 10px;  
    margin: 0px auto;
    display: block;
}